package scut.facerecognition.service;

import scut.facerecognition.entity.dto.MessageUserDTO;
import scut.facerecognition.entity.pojo.Message;
import scut.facerecognition.entity.pojo.User;

import java.util.List;

public interface MessageService {
    void save(Message msg);

    void updateDeliveryStatus(Long messageId, boolean b);

    List<Message> getUnreadMessages(Long userId);

    List<Message> getHistoryMessages(MessageUserDTO messageUserDTO);

    List<User> getInterlocutor(long currentUserId);
}
